//
//  DetailViewController.m
//  RestkitDemo
//
//  Created by Liu Shuo on 14-10-9.
//  Copyright (c) 2014年 Liu Shuo. All rights reserved.
//

#import "DetailViewController.h"

@interface DetailViewController ()

@property (strong, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation DetailViewController


- (void)setUrlString:(NSString *)baseUrlString {
    if (_urlString != baseUrlString) {
        _urlString = baseUrlString;
    }
}

- (void)configureView {
    // Update the user interface for the detail item.
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_urlString]]];
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    [self configureView];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
